package com.zmxstudy.gzu.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 
 * @TableName tb_sku
 */
@TableName(value ="tb_sku")
@Data
public class TbSku implements Serializable {
    /**
     * 
     */
    @TableId(type = IdType.ASSIGN_ID)
    private Long id;

    /**
     * 
     */
    private String sn;

    /**
     * 
     */
    private String name;

    /**
     * 
     */
    private Integer price;

    /**
     * 
     */
    private Integer num;

    /**
     * 
     */
    private String image;

    /**
     * 
     */
    private String images;

    /**
     * 
     */
    private Integer weight;

    /**
     * 
     */
    private Date createTime;

    /**
     * 
     */
    private Date updateTime;

    /**
     * 
     */
    private Long spuId;

    /**
     * 
     */
    private Long categoryId;

    /**
     * 
     */
    private Long brandId;

    /**
     * 
     */
    private String spec;

    /**
     * 
     */
    private Integer saleNum;

    /**
     * 
     */
    private Integer commentNum;

    /**
     * 
     */
    private String status;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}